#include "mainwindow.h"
#include "form/sys/initdatabase.h"

#include <QApplication>
#include "protocol/visibilityprotocol.h"


#include <QTimer>




int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    //qRegisterMetaType<protocol::VisibilityProtocol>("protocol::VisibilityProtocol");
    //qRegisterMetaType<protocol::VisibilityProtocol>("protocol::VisibilityProtocol&");
    //qDebug() << "main 线程 currentThreadId： "<<" : "<<QThread::currentThreadId()<<"currentThread : " << QThread::currentThread();

    //InitDataBase idb;
    //idb.show();

    MainWindow w;
    w.show();

    return a.exec();
}
